<script lang="ts" setup>
import { defineProps } from "vue"
import { renderBox } from "xiao-you-editor/lib/index"
import { customParser } from "../editor/editorConfig/customParser"

defineProps<{
  template: string
}>()
</script>

<template>
  <renderBox :template="template" :custom-parser="customParser" style="padding-top: 20px" />
</template>
